project "Framework"
    kind "StaticLib"

    files { "**.cpp", "**.c", "**.h" }
	includedirs { ".", "../" }

    configuration { "vs*" }
        pchheader "Config.h"
		pchsource "Config.cpp"
    configuration { "not vs*" }
        excludes { "Config.cpp" }
    configuration "windows"
		defines { "TIXML_USE_STL" }
        links { "ws2_32", "mswsock", "kernel32", "user32" }
    configuration { "Debug", "vs*" }
        links { "eventd", "wch", "lua" }
    configuration { "Release", "vs*" }
        links { "event", "wch", "lua" }
    configuration "not windows"
	defines { "TIXML_USE_STL" }
    	buildoptions { "-std=c++11", "-fpermissive" }
	links { "event", "event_pthreads", "lua", "dl", "wch", "pthread" }
